package com.commpany.servie.basic.tag.business.write.productTagMap.impl;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.commpany.jdq.core.orm.Pagination;
import com.commpany.servie.basic.tag.business.write.productTagMap.ProductTagMapWriteManage;
import com.commpany.servie.basic.tag.dao.write.ProductTagMapWriteDAO;
import com.commpany.servie.basic.tag.po.ProductTagMapPO;
@Service
public class ProductTagMapWriteManageImpl implements ProductTagMapWriteManage {
	Logger logger = LoggerFactory.getLogger(this.getClass());
	@Autowired
	private ProductTagMapWriteDAO productTagMapWriteDAO;
	@Override
	public int insertProductTagMapService( ProductTagMapPO po ){
	
	  return productTagMapWriteDAO.insert(po);
	}
	@Override
    public int updateProductTagMapService( ProductTagMapPO po ){
        return productTagMapWriteDAO.update(po);
    }
    
    @Override
    public int deleteProductTagMapService( ProductTagMapPO po ){
        return productTagMapWriteDAO.delete(po);
    }
}
	